//
//  UIView+Layout.m
//  lanrenzhoumo
//
//  Created by bilibili on 16/4/15.
//  Copyright © 2016年 吕嘉麟. All rights reserved.
//

#import "UIView+Layout.h"

@implementation UIView (Layout)

-(CGFloat)current_x{
    return self.frame.origin.x;
}
-(CGFloat)current_y{
    return self.frame.origin.y;
}
-(CGFloat)current_w{
    return self.frame.size.width;
}
-(CGFloat)current_h{
    return self.frame.size.height;
}
-(CGFloat)current_x_w{
    return self.frame.size.width+self.frame.origin.x;
}
-(CGFloat)current_y_h{
    return self.frame.size.height+self.frame.origin.y;
}
@end
